Extension::CurlGetInfo Method

Syntax

.GetInfo as a (info as C)

Arguments

info

Character

Description

Gets information concerning the last transfer.

Supported CURL Info

The following CURL info names are supported. For more information about these , see the [CURL documentation].

EFFECTIVE_URL

Last used URL.

RESPONSE_CODE

Last received response code.

TOTAL_TIME

Total time of previous transfer.

NAMELOOKUP_TIME

Time from start until name resolving completed.

CONNECT_TIME

Time from start until remote host or proxy completed.

PRETRANSFER_TIME

The time it took from the start until the file transfer is just about to begin. This includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved. STARTTRANSFER

HEADER_SIZE

Number of bytes of all headers received.

REQUEST_SIZE

Number of bytes sent in the issued HTTP requests.

SSL_VERIFYRESULT

Certificate verification result.

FILETIME

Remote time of the retrieved document.

STARTTRANSFER_TIME

The time it took from the start until the first byte is received by libcurl.

CONTENT_TYPE

Content type from the Content-Type header.

REDIRECT_TIME

The time it took for all redirection steps include name lookup, connect, pretransfer and transfer before final transaction was started. So, this is zero if no redirection took place.

REDIRECT_COUNT

Total number of redirects that were followed.

HTTP_CONNECTCODE

Last proxy CONNECT response code.

HTTPAUTH_AVAIL

Available HTTP authentication methods.

PROXYAUTH_AVAIL

Available HTTP proxy authentication methods.

OS_ERRNO

The errno from the last failure to connect.

NUM_CONNECTS

Number of new successful connections used for previous transfer.

SSL_ENGINES

A list of OpenSSL crypto engines.

COOKIELIST

List of all known cookies.

This will always be empty unless the .SetOpt() method was called before the .Exec() call with "COOKIEFILE" option set to "".
FTP_ENTRY_PATH

The entry path after logging in to an FTP server.

REDIRECT_URL

URL a redirect would take you to, had you enabled redirects.

PRIMARY_IP

IP address of the last connection.

APPCONNECT_TIME

The time it took from the start until the SSL connect/handshake with the remote host was completed.

CONDITION_UNMET

Whether or not a time conditional was met.

RTSP_SESSION_ID

RTSP session ID.

RTSP_CLIENT_CSEQ

RTSP CSeq that will next be used.

RTSP_SERVER_CSEQ

RTSP CSeq that will next be expected.

RTSP_CSEQ_RECV

RTSP CSeq last received.

PRIMARY_PORT

Port of the last connection.

LOCAL_IP

Local-end IP address of last connection.

LOCAL_PORT

Local-end port of last connection.